package com.hqyj.project.mapper;

import com.hqyj.project.dto.LeaveDto;
import com.hqyj.project.vo.LeaveVo;

import java.util.List;

public interface LeaveMapper {
    //查询所有的请假情况
    List<LeaveVo> selectInfo(LeaveDto leaveDto);

    Integer selectLeaveCount(LeaveDto leaveDto);

    void applyToLeave(LeaveDto leaveDto);

    void permit(String userName);

    List<LeaveDto> selectPersonalByUserName(String userName);

    void notPermit(String userName);

    List<LeaveVo> selectByLeaveStatus(LeaveDto leaveDto);


    Integer selectByleaveStatus(String leaveStatus);

    void updateStart(String userName);











}
